
namespace ctsu.BaseForms
{

	public class FormGridColumnMeta
	{
		private string _fieldName = "";
		private string _displayName = "";
		private string _dataType = "";
		private string _cellType = "";
		private int _width = 0;
		private int _colOrder = 0;
		private string _verify = "";
		private bool _isRequired = false;
		private bool _isHidden = false;
		private bool _readOnly = false;
		private string _range = "";
		private int _validationType = 0;

		public int ValidationType
		{
			get { return _validationType; }
			set { _validationType = value; }
		}

		public string FieldName
		{
			get { return _fieldName; }
			set { _fieldName = value; }
		}

		public string DisplayName
		{
			get { return _displayName; }
			set { _displayName = value; }
		}

		public string DataType
		{
			get { return _dataType; }
			set { _dataType = value; }
		}

		public string CellType
		{
			get { return _cellType; }
			set { _cellType = value; }
		}

		public int ColOrder
		{
			get { return _colOrder; }
			set { _colOrder = value; }
		}

		public int Width
		{
			get { return _width; }
			set { _width = value; }
		}

		public string VerifyName
		{
			get { return this._verify; }
			set { this._verify = value; }
		}

		public bool IsRequired
		{
			get { return this._isRequired; }
			set { this._isRequired = value; }
		}

		public bool IsHidden
		{
			get { return this._isHidden; }
			set { this._isHidden = value; }
		}

		public bool ReadOnly
		{
			get { return this._readOnly; }
			set { this._readOnly = value; }
		}

		public string Range
		{
			get { return _range; }
			set { _range = value; }
		}

		public FormGridColumnMeta()
		{


		}

		public FormGridColumnMeta(string fieldName, string displayName, string dataType, string cellType, int width)
		{
			this._fieldName = fieldName;
			this._displayName = displayName;
			this._dataType = dataType;
			this._cellType = cellType;
			this._width = width;
		}
	}
}
